package org.hongqi.common.senpec.sys.role;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.*;
import org.hongqi.common.senpec.base.mybatisplus.IBaseEntity;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "senpec_sys_role")
@TableName("senpec_sys_role")
public class Role extends IBaseEntity<Role> {
    @Column(length = 20, unique = true, nullable = false)
    private String roleName;
}
